package com.senjoeson.androidtv.securitydemo;

import android.util.Log;

/**
 * <pre>
 *     author : sunqiao
 *     e-mail : sunqiao@kayak.com.cn
 *     time   : 2018/10/17
 *     desc   :
 *     version: 1.0
 * </pre>
 */
public class VisitManager {

    private static final String TAG = "VisitManager";
    private static VisitManager mInstance;


    public static VisitManager getInstance() {
        if (mInstance == null) {
            synchronized (VisitManager.class) {
                if (mInstance == null) {
                    mInstance = new VisitManager();
                }
            }
        }
        return mInstance;
    }

    /**
     * 做一些初始化的操作
     *
     * @param server 服务器
     */
    public void init(VisitServer server) {
      String result=  server.visitSev();
        Log.d(TAG, "init: "+result);
    }


}
